package judesart.app.repository;

import judesart.app.domain.Artist;
import judesart.app.shared.ValidationException;

public interface ArtistDAO {
    Artist createArtist(Artist artist) throws ValidationException;

    Artist updateArtist(Artist artist) throws ValidationException;

    Artist findArtistByUserId(Long userId);

    Artist findArtistById(Long artistId);

    Artist addImageToArtist(Artist artist, String fileName, String blobKey);

    Artist deleteImageFromArtist(Artist artist, Long photoId);
}
